package com.authine.cloudpivot.ext.dto.system;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassName ResourceDto
 * @Description: TODO
 * @Author fj
 * @Date 2021/8/4
 * @Version V1.0
 **/
@Data
@Schema(description = "ResourceDto")
public class ResourceDto {
    @Schema(description = "id")
    private String id;
    @Schema(description = "父菜单id")
    private String parent_id;
    @Schema(description = "资源类型")
    private String type;
    @Schema(description = "资源层级")
    private Integer level;
    @Schema(description = "资源名称")
    private String name;
    @Schema(description = "资源排序")
    private Integer sort;
    @Schema(description = "应用编码")
    private String appCode;
    @Schema(description = "菜单编码")
    private String menuCode;
    @Schema(description = "菜单项编码")
    private String menuItemCode;
    @Schema(description = "权限id")
    private String permId;
    @Schema(description = "分组编码")
    private String groupCode;
    @Schema(description = "组件编码")
    private String componentCode;
    @Schema(description = "页面编码")
    private String pageCode;
    @Schema(description = "菜单顺序")
    private Integer sortKey;
}
